public class Math1 {
    public static void main(String[] args) {
        System.out.println("2次study");
        for (int i=0;i<2;i++){
            System.out.println("study");
        }
        System.out.println("3次homework");
        for (int i=1;i<4;i++){
            System.out.println("homework");
        }
    }
}
